Skip to content

feat(node): vendor ioredis, redis instrumentations#20510

Merged
isaacs merged 2 commits intodevelopfrom
isaacs/vendor-redis
May 4, 2026
Merged

feat(node): vendor ioredis, redis instrumentations#20510
isaacs merged 2 commits intodevelopfrom
isaacs/vendor-redis

Conversation

@isaacs
Copy link
Copy Markdown
Member

@isaacs isaacs commented Apr 25, 2026

Vendor in the Redis and IORedis instrumentation code and unit tests, and update everything in Sentry to use our vendored code instead of the external dependency.

A subsequent commit will update the node-redis instrumentation to use its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).
  • Link an issue if there is one related to your pull request. If no issue is linked, one will be auto-generated and linked.

Closes #issue_link_here

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 25, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 26.31 kB - -
@sentry/browser - with treeshaking flags 24.8 kB - -
@sentry/browser (incl. Tracing) 44.2 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 46.42 kB - -
@sentry/browser (incl. Tracing, Profiling) 49.16 kB - -
@sentry/browser (incl. Tracing, Replay) 83.58 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 73.04 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 88.26 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 100.87 kB - -
@sentry/browser (incl. Feedback) 43.47 kB - -
@sentry/browser (incl. sendFeedback) 31.12 kB - -
@sentry/browser (incl. FeedbackAsync) 36.21 kB - -
@sentry/browser (incl. Metrics) 27.62 kB - -
@sentry/browser (incl. Logs) 27.75 kB - -
@sentry/browser (incl. Metrics & Logs) 28.45 kB - -
@sentry/react 28.05 kB - -
@sentry/react (incl. Tracing) 46.42 kB - -
@sentry/vue 31.18 kB - -
@sentry/vue (incl. Tracing) 46.04 kB - -
@sentry/svelte 26.34 kB - -
CDN Bundle 28.91 kB - -
CDN Bundle (incl. Tracing) 46.95 kB - -
CDN Bundle (incl. Logs, Metrics) 30.34 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 48.06 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 69.41 kB - -
CDN Bundle (incl. Tracing, Replay) 84.11 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 85.16 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 89.91 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 91.01 kB - -
CDN Bundle - uncompressed 84.72 kB - -
CDN Bundle (incl. Tracing) - uncompressed 140.31 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 88.92 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 143.77 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 212.86 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 258.11 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 261.56 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 271.81 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 275.25 kB - -
@sentry/nextjs (client) 48.92 kB - -
@sentry/sveltekit (client) 44.67 kB - -
@sentry/node-core 59.13 kB +0.02% +10 B 🔺
@sentry/node 170.63 kB +0.05% +74 B 🔺
@sentry/node - without tracing 97.17 kB +0.01% +7 B 🔺
@sentry/aws-serverless 113.99 kB +0.03% +31 B 🔺
@sentry/cloudflare (withSentry) - minified 165.2 kB - -
@sentry/cloudflare (withSentry) 417.71 kB - -

View base workflow run

@isaacs isaacs force-pushed the isaacs/vendor-redis branch from 345c2eb to 2cc6c16 Compare April 26, 2026 23:10
@isaacs isaacs marked this pull request as ready for review April 26, 2026 23:11
isaacs added a commit that referenced this pull request Apr 26, 2026
Vendor in the Redis and IORedis instrumentation code and unit tests, and
update everything in Sentry to use our vendored code instead of the
external dependency.

A subsequent commit will update the node-redis instrumentation to use
its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md
@isaacs isaacs force-pushed the isaacs/vendor-redis branch from 2cc6c16 to f7f5d5e Compare April 26, 2026 23:12
@isaacs isaacs changed the title feat(node): vendor ioredis, redis instrumentaitons feat(node): vendor ioredis, redis instrumentations Apr 26, 2026
Comment thread packages/node/src/integrations/tracing/redis/index.ts
@logaretm
Copy link
Copy Markdown
Member

@isaacs I can follow up on this PR once it gets merged to see if we can use the tracing channels shipped in 5.12.0

isaacs added a commit that referenced this pull request May 4, 2026
Vendor in the Redis and IORedis instrumentation code and unit tests, and
update everything in Sentry to use our vendored code instead of the
external dependency.

A subsequent commit will update the node-redis instrumentation to use
its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md
@isaacs isaacs force-pushed the isaacs/vendor-redis branch from f7f5d5e to 9384287 Compare May 4, 2026 18:37
@isaacs isaacs requested a review from a team as a code owner May 4, 2026 18:37
Comment thread packages/node/src/integrations/tracing/redis/index.ts Outdated
isaacs added a commit that referenced this pull request May 4, 2026
Vendor in the Redis and IORedis instrumentation code and unit tests, and
update everything in Sentry to use our vendored code instead of the
external dependency.

A subsequent commit will update the node-redis instrumentation to use
its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md
@isaacs isaacs force-pushed the isaacs/vendor-redis branch from 461184f to d150996 Compare May 4, 2026 18:53
@isaacs isaacs enabled auto-merge (rebase) May 4, 2026 18:54
@isaacs isaacs disabled auto-merge May 4, 2026 19:01
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d150996. Configure here.

Comment thread packages/node/test/integrations/tracing/redis/redis-common.test.ts Outdated
isaacs added 2 commits May 4, 2026 12:17
Vendor in the Redis and IORedis instrumentation code and unit tests, and
update everything in Sentry to use our vendored code instead of the
external dependency.

A subsequent commit will update the node-redis instrumentation to use
its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md
@isaacs isaacs force-pushed the isaacs/vendor-redis branch from d150996 to de731ed Compare May 4, 2026 19:17
@isaacs isaacs merged commit 7adeb9d into develop May 4, 2026
501 of 503 checks passed
isaacs added a commit that referenced this pull request May 4, 2026
Vendor in the Redis and IORedis instrumentation code and unit tests, and
update everything in Sentry to use our vendored code instead of the
external dependency.

A subsequent commit will update the node-redis instrumentation to use
its recently-added Diagnostics Channel support.

See: https://github.com/redis/node-redis/blob/master/docs/diagnostics-channel.md
@isaacs isaacs deleted the isaacs/vendor-redis branch May 4, 2026 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants